#include<iostream>
using namespace std;
int main(){
	char x;
	cin>>x;
	cout<<"  "<<x<<endl;
	cout<<" "<<x<<x<<x<<endl;
	cout<<""<<x<<x<<x<<x<<x<<endl;
	
	
	return 0;
}

